package com.qijian.business.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("t")
@JsonInclude
public class InventoryManagement {

    @ApiModelProperty("产品图片")
    private String imageUrl;

    @ApiModelProperty("客户名称")
    @WhereType(filed = "customer_name", type = WhereTypeEnum.LIKE)
    private String customerName;

    @ApiModelProperty("产品名称")
    @WhereType(filed = "item_name", type = WhereTypeEnum.LIKE)
    private String itemName;

    @ApiModelProperty("开工令")
    @WhereType(filed = "project_no", type = WhereTypeEnum.LIKE)
    private String projectNo;

    @ApiModelProperty("到货进度")
    private BigDecimal purchaseRate;

    @ApiModelProperty("领用进度")
    private BigDecimal collectionProgress;

    @ApiModelProperty("超领比率")
    private BigDecimal overPickRatio;
}
